﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    internal class MusicTeacher : Teacher, IAthlete
    {
        public MusicTeacher(string name) : base(name)
        {
            this.Name = name;
        }
        public void output1()
        {
            Console.WriteLine("我又是一名运动员！");
        }
        public void output()
        {
            Console.WriteLine("我的名字是{0}，我是一名音乐老师",base.Name);
        }
    }
}
